package cc.mcggdd.leah.boot.stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cc.mcggdd.leah.boot.stock.model.entity.StockInitCapital;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cc.mcggdd.leah.boot.stock.model.query.StockInitCapitalQuery;
import cc.mcggdd.leah.boot.stock.model.vo.StockInitCapitalVO;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;

/**
 * 初始资金Mapper接口
 *
 * @author 
 * @since 2025-02-08 10:16
 */
@Mapper
public interface StockInitCapitalMapper extends BaseMapper<StockInitCapital> {

    /**
     * 获取初始资金分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<StockInitCapitalVO> getStockInitCapitalPage(Page<StockInitCapitalVO> page, StockInitCapitalQuery queryParams);

    BigDecimal getStockInitCapitalsTotalAmount();
}
